/*
 * @Author: 张小平
 * @Date:   2025-05-01
 * @Email:  qqshuqian@163.com
 * @Copyright © 2024 aseyun. All rights reserved.
 */
let baseUrl = import.meta.env.VITE_APP_API
let basePdfUrl =import.meta.env.VITE_APP_PDF
let front =import.meta.env.VITE_APP_FRONT
let baseCodeApiUrl =import.meta.env.VITE_APP_CODE_URL

let companyEmail =import.meta.env.VITE_APP_EMAIL
let companyPhone =import.meta.env.VITE_APP_PHONE
let companyCopyright =import.meta.env.VITE_APP_COMRIGHT

let home =import.meta.env.VITE_APP_HOME
let title =import.meta.env.VITE_APP_TITLE
let projectApp =import.meta.env.VITE_APP_PROJECT
let baseHomeIndexUrl = import.meta.env.VITE_APP_HOME_INDEX
let logoUrl = import.meta.env.VITE_APP_LOGO_URL

let thirdLogins = import.meta.env.VITE_APP_THIRDLOGINS

/**
 * 全局配置文件
 */
export default {
  title: title ||"aseyun 管理系统",
  copyright: "Copyright © 2023-2025 aseyun.com All Rights Reserved",
  companyEmail:companyEmail ||"qqshuqian@163.com",
  companyPhone:companyPhone||"15827123571",
  companyCopyright:companyCopyright||"鄂ICP备",
  baseUrl:baseUrl,
  basePdfUrl:basePdfUrl,
  baseCodeApiUrl:baseCodeApiUrl,
  baseHomeIndexUrl:baseHomeIndexUrl,
  thirdLogins:thirdLogins,
  front:front,
  pageSize: 30,
  logo: logoUrl,
  key: projectApp||'aseyun',//配置主键,目前用于存储
  indexTitle: title || 'aseyun 管理系统',
  tokenTime: 6000,//token过期时间
  Authorization: 'jrtoken',
  //http的status默认放行不才用统一处理的,
  statusWhiteList: [400],
  //配置首页不可关闭
  setting: {
    sidebar: 'vertical',
    tag: true,
    debug: true,
    collapse: true,
    search: true,
    lock: true,
    screenshot: true,
    fullscren: true,
    dialogType:'drawer',
    theme: true,
    menu: true
  },
  fistPage: {
    name: "",
    path:"/"+(home||"admin")
  },
  //配置菜单的属性
  menu: {
    iconDefault: 'icon-caidan',
    label: 'name',
    path: 'path',
    icon: 'icon',
    children: 'children',
    query: 'query',
    href: 'href',
    meta: 'meta'
  },
  active:"preview",
  version:1,
}
